package com.nami.conver.domain.pchat.convertor;

import com.nami.conver.domain.pchat.model.ConverModel;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 会话convert
 *
 * @author lbc@test.com
 * @since 1.0.0 2022-11-29
 */
@Mapper
public interface ConverConvert {

    ConverConvert INSTANCE = Mappers.getMapper(ConverConvert.class);

    ConverModel convert(ConverModel conversation);

    List<ConverModel> convertList(List<ConverModel> cacheList);
}






















